﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LicenseManager
{
    public class ZohoTypes
    {

        public interface ZohoOperatable
        {
            void Search(object id);
            void Insert(object[] args);
            void Update(object id,  object[] args); 
        }

        public class ZohoContact : ZohoOperatable
        {
            public string ID { get; set; }
            
            public string FirtsName { get; set; }
            public string LastName { get; set; }
            public string Email { get; set; }
            public string Phone { get; set; }
            public bool Blocked { get; set; }
            public string Company { get; set; }

            public DateTime LastLogin { get; set; }
            public DateTime FirstLogin { get; set; }
            public DateTime ExpiredOn { get; set; }
            public String ProductCode { get; set; }

            #region ZohoOperatable Members

            public void Search(object id)
            {
                throw new NotImplementedException();
            }

            public void Insert(object[] args)
            {
                throw new NotImplementedException();
            }

            public void Update(object id, object[] args)
            {
                throw new NotImplementedException();
            }

            #endregion
        }

    }
}
